package org.example.myleet.p781;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(5 == solution.numRabbits(new int[]{1,1,2}));
        Assert.isTrue(11 == solution.numRabbits(new int[]{10,10,10}));
        Assert.isTrue(0 == solution.numRabbits(new int[]{}));
        Assert.isTrue(7 == solution.numRabbits(new int[]{1,1,2,1}));
        Assert.isTrue(5 == solution.numRabbits(new int[]{1,0,1,0,0}));
    }
}
